home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / polski_aminet / miroslaw_siedlarz / bcc / readme < prev   
Text File  |  1997-06-22  |  2KB  |  70 lines

  1. Short:    BCC v3.1 to program MUI/BOOPSI as C++.
  2. Author:   cret@cerber.ii.tuniv.szczecin.pl
  3. Uploader: cret@cerber.ii.tuniv.szczecin.pl
  4. Version:  3.1
  5. Type:     dev/mui
  6.  
  7. I wrote this program because of two reasons:
  8.  
  9. -) to limit boring typing when building up MUI or BOOPSI custom classes,
  10.  
  11. -) to make a source code more readable.
  12.  
  13. Although there was a similar program - MUI2C (v1.7), I didn't like its syntax,
  14. way of associating tag values, one class - only one file, and other limitations.
  15. BCC is free of these disadvantages and provides:
  16.  
  17. -) (NEW!!!) references to the methods and attributes by simple '->' like in
  18. C++. For example:
  19.  
  20.     instead of:    SetAttr( win, MUIA_Window_Open, TRUE, TAG_DONE );
  21.     type just: win->Open = TRUE;
  22.  
  23.     or instead of: DoMethod( list, MUIM_List_GetEntry, 0, &e );
  24.     type: list->GetEntry( 0, &e );
  25.  
  26. -) handles both MUI and BOOPSI classes
  27.  
  28. -) very nice syntax (like C++)
  29.  
  30. -) methods of one class can be placed in many files
  31.  
  32. -) user doesn't care about tag values, they are calculated from tag names
  33. (hashing)
  34.  
  35. -) easy handling parameters that are passed to methods
  36.  
  37. -) <class data> variables accessed as local variables; simple <xx> instead
  38. of data-><xx> (new)
  39.  
  40. -) very convenient handling of OM_SET and OM_GET
  41.  
  42. -) extra tags can be easily passed to the super class when OM_NEW is called
  43.  
  44. -) user can place his stuff in a class' header file
  45.  
  46. -) both public and private classes can be super classes (new)
  47.  
  48. -) C and C++ comments are handled
  49.  
  50. -) also strings are processed correctly (new)
  51.  
  52. -) in case of syntax error, full information (where and why)
  53.  
  54.  
  55. v3.1 (22.6.97)
  56. ----
  57. -) major changes in code for attributes. Now, attributes can be even super.
  58. Attribute parameter doesn't need to be ULONG val or ULONG *store. User can
  59. define name and type of these parameters.
  60. -) bug fixed: attribute parameter name for Get and Init was 'val' instead
  61. of 'value'
  62. -) bug fixed: init attributes were parsed before 'obj' was initialized. So
  63. pointer to 'obj' for all init attributes was invalid.
  64. -) '#define value' is no longer used. It caused problems with mui.h.
  65. -) new switch for class 'selfcreate'
  66. -) if there are both method and dispatcher in the same file, function
  67. for method is 'static'.
  68. -) new 'bccopts' gui v1.1
  69.  
  70.